package com.ruoyi.user.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.experimental.Accessors;

@Getter
@AllArgsConstructor
@Accessors(fluent = true)
public enum ResultCode {

    PHONE_EXIST( "手机号已存在"),
    PHONE_NOT_EXIST( "手机号不存在"),
    VERIFY_CODE_ERROR("验证码不正确"),
    OLD_PASSWORD_ERROR("原密码错误"),
    USER_NOT_EXIST("用户不存在"),
    AVATAR_UPLOAD_ERROR("头像上传失败");

    private String message;
}
